// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from '@/utils/request'

// 首页数据概览
export function viewModelApi() {
  return request({
    url: '/statistics/selectCount',
    method: 'GET',
  })
}
// 饼图
export function chartCirclePie() {
  return request({
    url: '/statistics/getActivityTypeCount',
    method: 'get'
  })
}
export function chartCirclePie1() {
  return request({
    url: '/statistics/getStudyTypeCount',
    method: 'get'
  })
}
export function chartCirclePie2() {
  return request({
    url: '/statistics/getGoodsTypeCount',
    method: 'get'
  })
}
//村级活动柱状图
export function  chartActivityApi() {
  return request({
    url: '/statistics/activityFifteenDays',
    method: 'get'
  })
}
//订单柱状图
export function  chartGoodsApi() {
  return request({
    url: '/statistics/goodsFifteenDays',
    method: 'get'
  })
}
// 用户饼图
export function chartUserPie() {
  return request({
    url: '/userPie',
    method: 'get'
  })
}
// 排名表格
export function chartTableApi() {
  return request({
    url: '/statistics/getIntegralList',
    method: 'get'
  })
}
export function chartTableApi1() {
  return request({
    url: '/statistics/getConsumption',
    method: 'get'
  })
}
// 用户概览
export function chartWxUser() {
  return request({
    url: '/statistics/getUserOverview',
    method: 'get'
  })
}



// 用户曲线图
export function chartUserApi() {
  return request({
    url: '/admin/statistics/home/chart/user',
    method: 'get'
  })
}
